package cz.muni.fi.pv168.addressbook.daos;

import cz.muni.fi.pv168.addressbook.entities.Contact;
import java.util.List;

/**
 *
 * @author Michal Ďuriš
 */
public interface ContactManager {

    /**
     *
     * @param contact contact to be added
     */
    public void addContactToPerson(Contact contact);

    /**
     *
     * @param contact
     */
    public void updateContact(Contact contact);

    /**
     *
     * @param contact
     */
    public void removeContactFromPerson(Contact contact);

    /**
     *
     * @param contacts
     */
    public void removeContactsFromPerson(List<Contact> contacts);

    /**
     *
     * @return
     */
    public List<Contact> getAllContacts();

}
